#!/bin/sh

INDIR="../../../wiki/svg_gallery"
OUTPUT="../../../wiki/EsvgGallery.wiki"
OUTPUTDIR="../../../wiki/svg_gallery/"
WWWDIR="http://enesim.googlecode.com/svn/wiki/svg_gallery/"

echo "#summary Esvg Gallery" > $OUTPUT
echo "#labels Featured" >> $OUTPUT
echo "=Esvg Gallery=" >> $OUTPUT
for i in `ls $INDIR/*.svg`; do
	svg="`basename $i`"
	png="`basename $i`.png"
	esvg_loader $i $OUTPUTDIR/$png > /dev/null 2>&1
	echo "|| [${WWWDIR}${svg} ${svg}] || [${WWWDIR}${png}] ||" >> $OUTPUT
done

